package com.yhd.tomcat.resp;

import java.io.ObjectOutputStream;
import java.io.OutputStream;

/**
 * @author yhd
 * @email yinhuidong1@xiaomi.com
 * @description TODO
 * @since 2021/6/10 下午3:13
 */
public abstract class BaseResponse {

    private OutputStream  os;

    public BaseResponse(OutputStream os) {
        this.os = os;
    }

    public abstract void write(String msg);

    public OutputStream getOs() {
        return os;
    }
}
